package com.zp.mediator;

public class MediatorPatternDemo {
   public static void main(String[] args) {
      User robert = new User("赵1");
      User john = new User("刘2");
 
      robert.sendMessage("Hi! 刘2!");
      john.sendMessage("Hello! 赵1!");
   }
}